package com.sky.entity;

import lombok.Data;

@Data
public class Admin {
    private Long id;        // 主键
    private String username; // 用户名
    private String password; // 密码

    // 全参构造
    public Admin(String username, String password) {
        this.username = username;
        this.password = password;
    }

    // 无参构造
    public Admin() {}
}